package com.dl.pojo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author DL
 * @create 2021-04-11 9:39
 */
@ApiModel("文件")
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyFile implements Serializable {
    private Integer fileID;
    private String fileName;
    private String filePath;
    private String fileType;
    private String fileNote;
    private String fileCover;
    private Integer thumbnails;
    private Integer typeID;

    public MyFile(String fileName, String filePath, String fileType, String fileNote, String fileCover, Integer thumbnails, Integer typeID) {
        this.fileName = fileName;
        this.filePath = filePath;
        this.fileType = fileType;
        this.fileNote = fileNote;
        this.fileCover = fileCover;
        this.thumbnails = thumbnails;
        this.typeID = typeID;
    }
}
